package com.pureut.quality.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.pureut.quality.domain.QualityCheckDoc;
import com.pureut.quality.domain.dto.QualityCheckDocDto;
import com.pureut.quality.domain.vo.QualityCheckDocVo;

import java.util.List;

/**
 * @Description
 * @Param
 * @Date
 * @Author hl
 **/
public interface IQualityCheckDocService extends IService<QualityCheckDoc> {

    /**
     * 查询检验单据配置
     */
    List<QualityCheckDocDto> selectCheckDocList(QualityCheckDocVo qualityCheckDocVo);

    /**
     * 新增检验单据配置
     */
    boolean insertCheckDoc(QualityCheckDocVo qualityCheckDocVo);

    /**
     * 批量删除检验单据配置
     */
    int deleteCheckDocById(String checkId);

    /**
     * 查询单个检验单据配置
     */
    QualityCheckDocDto selectCheckDocById(long checkId);

    /**
     * 修改检验单据配置
     */
    boolean updateCheckDocEdit(QualityCheckDocVo qualityCheckDocVo);
}
